home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / shell / ncd-0.000 / ncd-0 / ncd-0.9.8 / Makefile < prev    next >
Encoding:
Makefile  |  1995-05-06  |  287 b   |  22 lines

  1. CFLAGS=-I/usr/include/ncurses -D_GNU_SOURCE -O2 -Wall -m486
  2.  
  3. LIBS=-lncurses
  4. CC=cc
  5. OBJS=ncd.o glob.o dirs.o nodes.o nodeops.o curs.o disp.o
  6.  
  7.  
  8. all: ncd
  9.  
  10. clean:
  11.     rm -f *.o
  12.     rm -f ncd
  13.  
  14.  
  15. .c.o: 
  16.     $(CC) $(CFLAGS) -c $*.c -o $@
  17.  
  18. ncd: $(OBJS)
  19.     $(CC) $(OBJS) -o $@ $(LIBS)
  20.     strip $@
  21.     chmod 755 $@
  22.